package com.huaxin.common.Entity;

import java.util.List;

/**
 * @author songxf
 * @date 2017/12/4
 * @Desc 考勤签到--打卡
 * Copyright HUAXIN DATA. All rights reserved.
 */
public class HxPunchCardSignBean extends BaseDTO {

    /**
     * data : {"center":{"address":"湖北省武汉市洪山区创业光谷步行街","lat":30.5045,"lng":114.42384,"radius":200},"sign":[{"address":"重庆市渝中区上清寺路108号","time":1512097044000,"type":0},{"address":"湖北省武汉市江夏区郑桥小路","time":1512097309000,"type":0}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * center : {"address":"湖北省武汉市洪山区创业光谷步行街","lat":30.5045,"lng":114.42384,"radius":200}
         * sign : [{"address":"重庆市渝中区上清寺路108号","time":1512097044000,"type":0},{"address":"湖北省武汉市江夏区郑桥小路","time":1512097309000,"type":0}]
         */

        private CenterBean center;
        private List<SignBean> sign;

        public CenterBean getCenter() {
            return center;
        }

        public void setCenter(CenterBean center) {
            this.center = center;
        }

        public List<SignBean> getSign() {
            return sign;
        }

        public void setSign(List<SignBean> sign) {
            this.sign = sign;
        }

        public static class CenterBean {
            /**
             * address : 湖北省武汉市洪山区创业光谷步行街
             * lat : 30.5045
             * lng : 114.42384
             * radius : 200
             */

            private String address;
            private double lat;
            private double lng;
            private int    radius;

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public double getLat() {
                return lat;
            }

            public void setLat(double lat) {
                this.lat = lat;
            }

            public double getLng() {
                return lng;
            }

            public void setLng(double lng) {
                this.lng = lng;
            }

            public int getRadius() {
                return radius;
            }

            public void setRadius(int radius) {
                this.radius = radius;
            }
        }

        public static class SignBean {
            /**
             * address : 重庆市渝中区上清寺路108号
             * time : 1512097044000
             * type : 0
             */

            private String address;
            private long time;
            private int  type;

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public long getTime() {
                return time;
            }

            public void setTime(long time) {
                this.time = time;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }
    }
}
